array object
This method will insert a new value at the end of the array.
void insert_last(? value)
Parameters:
value
A value of the specified type in the array declaration to place at that index.
Return value:
None.
Remarks:
None.
Example:
string[] names(5);
void main()
{
names[0]="Damien";
names[1]="Philip";
names[2]="Percival";
names[3]="Byron";
names[4]="Humphrey";
names.insert_last("Edmund");
for(uint counter=0; counter<names.length(); counter++)
{
alert("Names", "Element "+counter+" contains the name "+names[counter]+".");
}
}